package com.ctgu.server.service;

import com.ctgu.server.dao.dto.AttendanceLocationDto;
import com.ctgu.server.dao.entity.AttendanceLocation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.server.dao.vo.Result;

import java.util.List;

/**
 * <p>
 * 考勤地点表 服务类
 * </p>
 *
 * @author ctgu
 * @since 2023-06-13
 */
public interface AttendanceLocationService extends IService<AttendanceLocation> {

    Result addAttendanceLocation(AttendanceLocationDto attendanceLocationDto);

    Result deleteAttendanceLocation(String userId, String attGrId, String locationId);

    Result deleteAll(String userId, String attGrId);

    List<AttendanceLocation> listGroupAll(String userId, String attGrId);
}
